package com.platform.unifiedweb.controller.charts;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * describe:
 *
 * @author rainly
 * @date 2019/11/19
 * @time 4:11 下午
 */
@Controller
@RequestMapping(value = "charts")
public class ChartsController {

    @GetMapping(value = "1")
    public ModelAndView charts1(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-1");
        return modelAndView;
    }

    @GetMapping(value = "2")
    public ModelAndView charts2(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-2");
        return modelAndView;
    }

    @GetMapping(value = "3")
    public ModelAndView charts3(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-3");
        return modelAndView;
    }

    @GetMapping(value = "4")
    public ModelAndView charts4(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-4");
        return modelAndView;
    }

    @GetMapping(value = "5")
    public ModelAndView charts5(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-5");
        return modelAndView;
    }

    @GetMapping(value = "6")
    public ModelAndView charts6(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-6");
        return modelAndView;
    }

    @GetMapping(value = "7")
    public ModelAndView charts7(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("page/charts/charts-7");
        return modelAndView;
    }
}
